package com.trivia.restServices

import com.trivia.restResponses.RestResponseUtil;

class AuthenticateAppUserController extends AbstractController {

    def appUserService
	
	def index = {
		execute()
	}

    def executeTry(){
		appUserService.authenticate(Long.parseLong(params.userId))
		response = RestResponseUtil.getOkResponse()
    }
  
}
